Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Database XML Java API Reference 10g Release 2 (10.2) B14293-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## oracle.xml.xsql
Interface XSQLConnectionManager

All Known Implementing Classes:
  XSQLDatasourceConnectionManager

public interface XSQLConnectionManager

One of two interfaces that must be implemented to override the built-in connection manager implementation. The XSQL Page Processor asks the XSQLConnectionManagerFactory associated with each request to create() an instance of an XSQLConnectionManager to service the current request.

In multithreaded environments, the implementation of XSQLConnectionManager must insure that an XSQLConnection instance returned by getConnection() is not used by another thread until it has been released by the XSQL Page Processor after the call to releaseConnection().

Method Summary
`XSQLConnection` | `getConnection(java.lang.String connName, XSQLPageRequest env)`
`void` | `releaseConnection(XSQLConnection theConn, XSQLPageRequest env)`

Method Detail

### getConnection

    public XSQLConnection getConnection(java.lang.String connName,
                                        XSQLPageRequest env)
                                 throws java.sql.SQLException

  Throws:
    `java.sql.SQLException`

### releaseConnection

    public void releaseConnection(XSQLConnection theConn,
                                  XSQLPageRequest env)

Overview | Package | Class | Tree | Deprecated | Index | Help
| Oracle® Database XML Java API Reference 10g Release 2 (10.2) B14293-01
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2003, 2005, Oracle. All rights reserved.